package cn.wp.ewallet.wmps.service;

import cn.wp.ewallet.wmps.model.dto.EarnStatLogDto;

import java.util.Date;

/**
 * 收益统计-业务逻辑层
 * Created by zhnagyongli on 2020/01/11
 */
public interface EarnStatLogService {

    /**
     * 查询最新收益统计信息
     * @param address
     * @return
     */
    EarnStatLogDto getLatestEarnStatLog(String address);


    /**
     * 查询指定日期的收益信息
     * @param address
     * @param date
     * @return
     */
    EarnStatLogDto getEarnStatLogByDate(String address, String date);

}